﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="buyer_reportPayableDetails.aspx.cs"
    Inherits="PeisongWeb.buyer_reportPayableDetails" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>采购配送系统-应付款详细</title>
    <!--#include file="../global.inc" -->

    <script type="text/javascript" language="javascript" src="/app_common/scripts/showDialog.js"></script>

    <script type="text/javascript">
        function resetSrh() {
            document.getElementById("txt_orderNo").value = "";
            document.getElementById("ddl_status").value = "";
        }
    </script>

</head>
<body>
    <form id="form1" runat="server">
    <div id="container">
        <uc1:headerV2 runat="server" ID="header1" />
        <div id="homemain">
            <div id="main">
                <div class="title">
                    <div class="title_text">
                        <ul>
                            <li class="color1">应付款查询</li>
                        </ul>
                    </div>
                </div>
                <div class="line_top">
                </div>
                <div id="mainmiddle">
                    <div class="search_list">
                        <div class="search_title">
                            <span>应付款周期：</span><asp:Label style="letter-spacing:1px;" runat="server" ID="lbl_Scope"></asp:Label>
                        </div>
                        <div class="listsearch">
                            <ul>
                                <li>
                                    <label>
                                        金 额：
                                    </label>
                                    <asp:Label runat="server" ID="lbl_Amount"></asp:Label>
                                </li>
                                <li style="width: 50px;">
                                    <label>
                                        &nbsp;
                                    </label>
                                    &nbsp; </li>
                                <li>
                                    <label>
                                        付款状态：
                                    </label>
                                    <asp:Label runat="server" ID="lbl_Status"></asp:Label>
                                </li>
                                <li style="width: 50px;">
                                    <label>
                                        &nbsp;
                                    </label>
                                    &nbsp; </li>
                                <li>
                                    <label>
                                        &nbsp;
                                    </label>
                                    <asp:Button runat="server" ID="lbtn_ToExecl" Text="导出Excel" OnClick="lbtn_ToExecl_Click"
                                        CssClass="button_round8"></asp:Button>
                                    &nbsp;
                                    <input class="button_round" type="button" id="btn_Return" onclick="window.location.href='buyer_reportPayableList.aspx'"
                                        value="返 回" />
                                </li>
                            </ul>
                        </div>
                    </div>
                    <div class="list_content">
                        <table width="100%" border="0" cellspacing="0" cellpadding="0">
                            <tr class="list_title">
                                <td width="30%">
                                    商品名称
                                </td>
                                <td width="10%">
                                    数量
                                </td>
                                <td width="20%">
                                    单价
                                </td>
                                <td width="10%">
                                    小计
                                </td>
                                <td width="10%">
                                    订单号
                                </td>
                                <td width="20%">
                                    订单日期
                                </td>
                            </tr>
                        </table>
                        <table border="0" cellspacing="0" cellpadding="0" class="list_border">
                            <asp:Repeater ID="rpt_list" runat="server">
                                <ItemTemplate>
                                    <tr class='<%# Container.ItemIndex%2==0?"":"tr_color"  %>'>
                                        <td width="30%">
                                            <a href="javascript:void(showProductDetail('user_productDetail_<%#Eval("productId")%>.html', 700,500));">
                                                <%# Eval("proName")%>
                                            </a>
                                        </td>
                                        <td width="10%">
                                            <%#Eval("quantity")%>
                                        </td>
                                        <td width="20%">
                                            <%#String.Format("{0:F2}",Eval("price"))%>/<%#Eval("unit")%>
                                        </td>
                                        <td width="10%">
                                            <%#String.Format("{0:F2}",Eval("amount"))%>
                                        </td>
                                        <td width="10%">
                                            <%#Eval("orderNo")%>
                                        </td>
                                        <td width="20%">
                                            <%#Eval("inputDt")%>
                                        </td>
                                    </tr>
                                </ItemTemplate>
                            </asp:Repeater>
                        </table>
                    </div>
                    <div class="page">
                        <webdiyer:AspNetPager ID="AspNetPager1" NumericButtonType="Text" MoreButtonType="Text"
                            AlwaysShow="true" Width="98%" runat="server" PageSize="15" InvalidPageIndexErrorMessage="无效页码"
                            NumericButtonCount="5" PageIndexOutOfRangeErrorMessage="页码超出范围" ShowCustomInfoSection="Left"
                            CustomInfoHTML=" 每页%PageSize%条记录 | 总共%RecordCount%条记录 " CustomInfoTextAlign="Left"
                            HorizontalAlign="Right" OnPageChanged="AspNetPager1_PageChanged" NextPageText=">"
                            FirstPageText="<<首页" LastPageText="末页>>" PrevPageText="<" CssClass="paginator"
                            CurrentPageButtonClass="cpb">
                        </webdiyer:AspNetPager>
                    </div>
                </div>
            </div>
        </div>
        <uc1:footerV2 runat="server" ID="footer1" />
    </div>
    <asp:HiddenField runat="server" ID="hid_startDt" />
    <asp:HiddenField runat="server" ID="hid_endDt" />
    </form>
</body>
</html>
